package com.egide;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

import com.egide.chat.ChatActivity;
import com.egide.networks.WiFiDirectActivity;

public class MainActivity extends Activity{
   
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home_page);
   
	}
	


	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}

	public void search_networks(View view){
		Intent intent = new Intent(this,WiFiDirectActivity.class);
		
		startActivity(intent);
	}
	public void open_chat(View v){
		Intent intent = new Intent(this,ChatActivity.class);
		
		startActivity(intent);
	}
}
